// home 页面的所有请求
import api from '../index';
interface Iparams {
  [propName:string]:any
}
// get 请求路径
export const getXXX = (params:Iparams) => api.get('xxx',{ params });


// post 请求路径
export const postXXX = (params:Iparams) => api.post('xxx',params);

// 获取文章列表

export const getList = (params:Iparams) => api.get('/paper/list',{ params });